package cn.lovemmd.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 模型日志实体类
 * 
 * @author TLS
 * @since 2024-01-01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("model_log")
public class ModelLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日志ID
     */
    @TableId(value = "m_id", type = IdType.AUTO)
    private Integer mId;

    /**
     * 用户
     */
    @TableField("m_user")
    private String mUser;

    /**
     * 模型名称
     */
    @TableField("m_name")
    private String mName;

    /**
     * 访问时间
     */
    @TableField("m_time")
    private LocalDateTime mTime;
}
